package com.cabbagetofu.crowd.entity.vo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
// 因为需要将此对象存放在session域中，而session存放在redis中，所以需要将此对象序列化
public class MemberLoginVO implements Serializable {

    private static final long serialVersionUIS = 1L;

    private Integer id;

    private String userName;

    private String email;

}
